package com.hyt.it.ogt.data.enums;

/**
 * 通用枚举
 *
 * @author admin
 */
public enum CommonEnums {
    PIECE_TYPE_1(1, "科目评卷块"),
    PIECE_TYPE_2(2, "试卷评卷块"),

    TASK_MARK_STATUS_0(0, "未评"),
    TASK_MARK_STATUS_1(1, "评卷中"),
    TASK_MARK_STATUS_2(2, "已评"),

    PROJECT_VERSION_0(0,"老版本"),
    PROJECT_VERSION_1(1,"新版本"),

    EXAM_CLASSFICATION_0(0,"无考场"),
    EXAM_CLASSFICATION_1(1,"虚拟考场"),
    EXAM_CLASSFICATION_2(2,"现考现评"),
    EXAM_CLASSFICATION_3(3,"机考导入"),

    TASK_PUBLISH_STATUS_0(0, "未发布"),
    TASK_PUBLISH_STATUS_1(1, "已发布"),

    Mark_Status_0(0, "未评"),
    Mark_Status_1(1, "评卷中"),
    Mark_Status_2(2, "已评"),

    MOBILE_MARK_0(0, "移动端"),
    MOBILE_MARK_1(1, "pc端"),

    CLIENT_MARK_0(0, "移动端评卷关闭"),
    CLIENT_MARK_1(1, "移动端评卷开启"),

    PIECCE_SCORE_FINSH_0(0, "未开始"),
    PIECCE_SCORE_FINSH_1(1, "已完成"),
    PIECCE_SCORE_FINSH_2(2, "进行中"),

    TASK_STATUS_0(0,"初始"),
    TASK_STATUS_1(1,"被获取"),
    TASK_STATUS_2(2,"已给分"),

    KW_STUDENT_ABSENT_0(0,"正常"),
    KW_STUDENT_ABSENT_20(20,"已开考"),
    KW_STUDENT_ABSENT_30(30,"已完成"),
    KW_STUDENT_ABSENT_40(40,"缺席"),

    ANONYMOUS_0(0,"关闭匿名"),
    ANONYMOUS_1(1,"开启匿名"),

    STUDENT_ABSENT_0(0,"正常"),
    STUDENT_ABSENT_1(1,"缺席"),

    GRADING_STATUS_0(0,"未开始 "),
    GRADING_STATUS_1(1,"评卷中 "),
    GRADING_STATUS_2(2,"已结束 "),

    ON_DISABLED_0(0,"可编辑"),
    ON_DISABLED_1(1,"只读"),

    ON_SUBMIT_0(0,"保存"),
    ON_SUBMIT_1(1,"提交"),
    
    GATHER_STATUS_0(0, "未导入"),
    GATHER_STATUS_1(1, "已导入"),
    GATHER_STATUS_2(2, "导入中"),
    GATHER_STATUS_3(3, "导入异常"),
    ;
    
    private Integer code;
    private String desc;

    CommonEnums(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
